<?php /* Smarty version Smarty-3.1.13, created on 2013-08-08 08:04:19
         compiled from "/var/www/html/templates/en/sms/create.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16581539415202e083548776-82827289%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f8c540a875151ab11215ea25e65fbb06330990ac' => 
    array (
      0 => '/var/www/html/templates/en/sms/create.tpl',
      1 => 1375809568,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16581539415202e083548776-82827289',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'link_return' => 0,
    'msg' => 0,
    'action' => 0,
    'phone' => 0,
    'groups' => 0,
    'group_id' => 0,
    'message' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5202e0836262d6_02771566',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5202e0836262d6_02771566')) {function content_5202e0836262d6_02771566($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/html/includes/smarty.libs/plugins/function.html_options.php';
?>
<script>
function updateAcyEditor(v)
{
	if(v==1) {
		window.document.getElementById("textfieldset0").style.display = 'none';
		window.document.getElementById("textfieldset1").style.display = 'block';
	} else {
		window.document.getElementById("textfieldset1").style.display = 'none';
		window.document.getElementById("textfieldset0").style.display = 'block';
	}
}
</script>
<style>
form {
	margin: 0;
	padding: 0;
}
</style>

<!-- Content Area -->
<div class="dma-thumbnail">
    <div class="content">
            
        <div class="header">
            
            <h1 class="page-title">ADD NEWSLETTER</h1>
        </div>
        
        <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="<?php echo $_smarty_tpl->tpl_vars['link_return']->value;?>
">Newsletter</a> <span class="divider">/</span></li>
            <li class="active">Create</li>
        </ul>        
		<?php if ($_smarty_tpl->tpl_vars['msg']->value){?>
        <div class="alert alert-success">
         <button class="close" data-dismiss="alert" type="button">×</button>
        <?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
   
        </div>
        <?php }?>    
        <div class="container-fluid">
        	<form name="frmAdmin" action="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
" method="post">
            <div class="row-fluid">
                <div class="btn-toolbar">
                    <button class="btn btn-primary" type="button" onclick="javascript:document.frmAdmin.submit();"><i class="icon-save"></i> Send</button>
                    <a href="<?php echo $_smarty_tpl->tpl_vars['link_return']->value;?>
" data-toggle="modal" class="btn">Cancel</a>
                  <div class="btn-group">
                  </div>
                </div>
                <div class="well">
                    <label class="control-label">Phone</label>
                    <input id="phone" type="text" name="phone" size="40" value="<?php echo $_smarty_tpl->tpl_vars['phone']->value;?>
" />
                    <label class="control-label">Group</label>
               		 <?php echo smarty_function_html_options(array('name'=>'group_id','options'=>$_smarty_tpl->tpl_vars['groups']->value,'selected'=>$_smarty_tpl->tpl_vars['group_id']->value),$_smarty_tpl);?>
                     
                    <label class="control-label">Message</label>                            
                    <textarea style="width:40%" rows="8" name="message" id="message" ><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</textarea>                   
                </div>
                                                       
            </div>
           
            </form>
        </div>
    </div>
</div>

  <!-- end of element-box -->
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content --><?php }} ?>